- content_for :meta do
  %meta{:name => "Description", :content => "Here's a listing of some of the photos from my shows"}
  %meta{:name => "Abstract", :content => "Jetty Rae's Photos"}
  %meta{:name => "Keywords", :content => "photos, jetty rae"}
- content_for :title do
  = "- photos from my shows"
- content_for :page_description do
  %p Jetty Rae has played a number of places around the world and from time to time she tries to post photos of her shows.
%div.heading
  %img.heading{:src => "/images/headings/sections/my_photos.jpg", :title => "My Photos", :alt => "My Photos"}
- @photos.each do |photo|
  %table.photo_index
    %tr
      %td.photo_thumb_container
        %a{:href => photo_url(photo), :title => (photo.caption ? photo.caption : photo.filename)}
          %img.photo_thumb{:src => photo.public_filename(:thumb), :title => (photo.caption ? photo.caption : photo.filename), :alt => (photo.caption ? photo.caption : photo.filename)}
%div.pagination
  = will_paginate @photos
- if logged_in? && current_user.is_admin?
  %div.add_new
    %a{:href => new_photo_url, :title => "Add a new photo to the website", :alt => "Add a new photo to the website"}
      %img{:src => "/images/up_arrow.jpg", :title => "Add a new photo", :alt => "Add a new photo"}
      Add a new photo